UCF STIG Viewer Logo

The Oracle Linux operating system must mount /dev/shm with the nodev option.


Overview

Finding ID Version Rule ID IA Controls Severity
V-99229 OL07-00-021022 SV-108333r1_rule Low
Description
The "nodev" mount option causes the system to not interpret character or block special devices. Executing character or block special devices from untrusted file systems increases the opportunity for unprivileged users to attain unauthorized administrative access.
STIG Date
Oracle Linux 7 Security Technical Implementation Guide 2020-05-29

Details

Check Text ( C-98075r1_chk )
Verify that the "nodev" option is configured for /dev/shm:


# cat /etc/fstab | grep /dev/shm
tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0

If any results are returned and the "nodev" option is not listed, this is a finding.

Verify "/dev/shm" is mounted with the "nodev" option:

# mount | grep "/dev/shm" | grep nodev

If no results are returned, this is a finding.
Fix Text (F-104911r1_fix)
Configure the system so that /dev/shm is mounted with the "nodev" option.